package com.zy.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 日报批注表
 * @author: whf
 * @create: 2023-03-22 08:43
 **/
@Data
@EqualsAndHashCode
@TableName("tb_daily_report_annotate" )
public class TbDailyReportAnnotate implements Serializable {
    private static final long serialVersionUID =  -1L;

    /**
     * 主键
     */
    @TableId("id")
    private Long id;

    /**
     * 日报id
     */
    @TableField("report_id")
    private Long reportId;

    /**
     * 批注人
     */
    @TableField("annotate_user")
    private String annotateUser;

    /**
     * 批注时间
     */
    @TableField("annotate_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date annotateTime;

    /**
     * 批注内容
     */
    @TableField("annotate_content")
    private String annotateContent;

    /**
     * 更新时间
     */
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
